package com.vhans.core.constant;

/**
 * elasticsearch常量
 *
 * @author vhans
 **/
public class ElasticConstant {

    /**
     * 记录索引
     */
    public static final String RECORD_INDEX = "record";

    /**
     * 记录标题
     */
    public static final String RECORD_TITLE = "recordTitle";

    /**
     * 记录内容
     */
    public static final String RECORD_CONTENT = "recordContent";

    /**
     * 题目索引
     */
    public static final String QUIZ_INDEX = "quiz";

    /**
     * 题目标题
     */
    public static final String QUIZ_TITLE = "quizTitle";

    /**
     * 题目内容
     */
    public static final String QUIZ_CONTENT = "quizContent";

    /**
     * 高亮标签
     */
    public static final String PRE_TAG = "<span style='color:#f47466'>";

    /**
     * 高亮标签
     */
    public static final String POST_TAG = "</span>";

    /**
     * 插入
     */
    public static final String INSERT = "INSERT";

    /**
     * 修改
     */
    public static final String UPDATE = "UPDATE";

    /**
     * 删除
     */
    public static final String DELETE = "DELETE";

}